package cn.iocoder.yudao.module.wine.controller.app.premiumrecord.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "用户 APP - 保费记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppPremiumRecordPageReqVO extends PageParam {

    @Schema(description = "用户id", example = "22356")
    private Long userId;

    @Schema(description = "保费")
    private BigDecimal premium;

    @Schema(description = "状态 0 未支付 1 已支付  2已退", example = "1")
    private Integer status;

    @Schema(description = "订单id", example = "3673")
    private Long orderId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}